<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="java.util.Date"%>
<%@page import="java.text.SimpleDateFormat"%>	
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/common.jspf" %>
<script type="text/javascript" src="${ctx}/js/finance/purchasingmanagement/customerCutMaterial_add.js">
</script>

<script type="text/javascript" src="${ctx}/js/jedate/jedate.js"></script>

<style type="text/css">
.col-sm-3 {
	width: 15%;
	float: left;
}

.col-sm-9 {
	width: 85%;
	float: left;
}
label[class^="btn btn-default"]{
	margin-top: -4px;
}
</style>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal" method="post"
		action="${ctx}/quality/slakingcheck_editEntity.shtml">
		<input type="hidden" class="form-control checkacc" 
			name="slakingCheckFormMap.id" value="${slakingCheckFormMap.id }" id="id">
		<input type="hidden" class="form-control checkacc" 
			name="slakingCheckFormMap.state" value="${slakingCheckFormMap.state }" id="id"> 
		<section class="panel panel-default">
		<div class="panel-body">
		
		
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">产品名称</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh" value="${slakingCheckFormMap.productName }"
						placeholder="产品名称" name="slakingCheckFormMap.productName" id="nc_code_group_no">
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">产品规格</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName" value="${slakingCheckFormMap.specification }"
						placeholder="请输入规格" name="slakingCheckFormMap.specification" id="nc_code_group_desc">
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">熟化期</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName" value="${slakingCheckFormMap.curingTime }"
						placeholder="请输入抽检数量" name="slakingCheckFormMap.curingTime" id="nc_code_group_desc">
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">重量</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName" value="${slakingCheckFormMap.weight }"
						placeholder="请输入规格" name="slakingCheckFormMap.weight" id="nc_code_group_desc">
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">实测</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName" value="${slakingCheckFormMap.actualMeasurement }"
						placeholder="请输入规格" name="slakingCheckFormMap.actualMeasurement" id="nc_code_group_desc">
				</div>
			</div>
		
			
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">外观</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName" value="${slakingCheckFormMap.appearance }"
						placeholder="请输入批次" name="slakingCheckFormMap.appearance" id="nc_code_group_desc">
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">熟化料外观图</label>
				<div class="col-sm-9">aa
				<%-- <img style="width:40px;height:40px"  alt="" src="${slakingCheckFormMap.appearancePic}"> --%>
					 <input type="file" class="form-control checkName"
						placeholder="请输入检验要求" name="appearancePic" id="nc_code_group_desc"> 
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">是否合格</label>
				<div class="col-sm-9">
					<select class="form-control" name="slakingCheckFormMap.qualified">
						<option value="0">请选择</option>
						<option <c:if test="${slakingCheckFormMap.qualified eq '1' }">selected</c:if> value="1">合格</option>
						<option <c:if test="${slakingCheckFormMap.qualified eq '2' }">selected</c:if> value="2">不合格</option>
					</select>
				</div>
			</div>
		
		<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">异常处理</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName" value="${slakingCheckFormMap.exceptionHandling }"
						placeholder="请输入检验结果" name="slakingCheckFormMap.exceptionHandling" id="nc_code_group_desc">
				</div>
			</div>
			
			
			<div class="line line-dashed line-lg pull-in"></div>	
			<div class="form-group">
				<label class="col-sm-3 control-label">确认时间</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh" id="predictDeliver" 
						name="slakingCheckFormMap.acknowledgingTime"  value="${slakingCheckFormMap.acknowledgingTime }"  />
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">确认班别</label>
				<div class="col-sm-9">
					<select class="form-control" name="slakingCheckFormMap.confirmationOf">
						<option value="0">请选择</option>
						<option <c:if test="${slakingCheckFormMap.confirmationOf eq '1' }">selected</c:if> value="1">甲班</option>
						<option <c:if test="${slakingCheckFormMap.confirmationOf eq '2' }">selected</c:if> value="2">乙班</option>
					</select>
				</div>
			</div>
			${slakingCheckFormMap.appearancePic }
			<div class="line line-dashed line-lg pull-in"></div> 		
			</div>
			
			
		<footer class="panel-footer text-right bg-light lter">
			<button type="submit" class="btn btn-success btn-s-xs">提交</button>
		</footer> 
		</section>
	</form>
	<script type="text/javascript">
		jeDate({
			dateCell : "#predictDeliver",
			format : "YYYY-MM-DD hh:mm:ss",
			isinitVal : false,
			isTime : true,
			isClear : false,
			minDate : "2014-09-19 00:00:00"
		});
	</script>
	
</body>
</html>